package org.wdh.extend.visitor;

class NonEmptyLeaf extends Tree {
	private int value;

	public NonEmptyLeaf(int _value) {
		this.value = _value;
	}

	public int getValue() {
		return this.value;
	}

	public Object accept(TreeVisitor that) {
		return ((TreeVisitor2)that).forNonEmptyLeaf(this);
	}
}
